package com.framework.file.dto;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

@Data
public class FileManageUploadDto {

    private MultipartFile multipartFile;

    //pid
    private String pid;

    //保管期限
    private String savePeriod;

    //是否工程竣工档案(1是2否)
    private Integer isComplete;

    //文件描述
    private String description;

    //来源(1自动归档2档案补录)
    private Integer source;

    //纸质位置
    private String paperLocation;

    //标签
    private String tag;

    //上传人
    private String createrId;

    //上传人单位
    private String createrComId;

    public FileManageUploadDto(MultipartFile multipartFile, String pid, String savePeriod, Integer isComplete, String description, Integer source, String paperLocation, String tag, String createrId, String createrComId) {
        this.multipartFile = multipartFile;
        this.pid = pid;
        this.savePeriod = savePeriod;
        this.isComplete = isComplete;
        this.description = description;
        this.source = source;
        this.paperLocation = paperLocation;
        this.tag = tag;
        this.createrId = createrId;
        this.createrComId = createrComId;
    }
}
